package cn.marinda.resturants.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/** 供应商实体类
 * @date 2021/11/15
 * @author Marinda
 */
@Data
@TableName("r_supplier")
public class Supplier {
    @TableId(value = "uid",type = IdType.UUID)
    private String uid;
    @TableField(value ="meal_uid")
    private String mealUid;
    private String name;
    @TableField(value ="unit_price")
    private BigDecimal unitPrice;
    @TableField(value ="total_price")
    private BigDecimal totalPrice;
    @TableField(value ="up_date")
    private String upDate;
    @TableField(value = "newest_date")
    private String newestDate;
    @Version
    private int version;
}
